package com.lut.single;

/**
 * @author liuning
 * @ProjectName SingleModel
 * @time 2021/12/13 18:05
 */
//静态内部类
public class Holder {
    private Holder(){

    }
    public static  Holder getInstance(){
        return InnerClass.HOLDER;
    }
    public static class InnerClass{
        private static final Holder HOLDER = new Holder();
    }
}
